{include file=$header_start}
{strip}
<!-- This file is required on listing pages of the site (Not on add,edit and detail pages) -->
<script type="text/javascript" src="{$siteroot}/includes/js/admin/checkall.js" /></script>
{/strip}
{include file=$header_end}

 <div class="contain">
 
      {include file=$left_menu}
      
      <div class="right_contain">
        
         <div class="heading_box">Default Settings</div>
         <div class="whitebox">
         <!--Message Div Start-->
         {if $msg}
         <div class="masg_div">
         	{$msg}
         </div>
         {/if}
         <!--Message Div End-->
         
         <div>
          <!--Form Contain start-->
           
           <div class="table_viewbox">
            <!--<h2>Table Design</h2>-->
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_viewbox">
              <tr>
                <th width="5%" align="center">#</th>
                <th width="40%">Config Name</th>
                <th width="40%">Config Value</th>
                <th width="15%">Action</th>
              </tr>
              {section name=i loop=$configArray}
              <tr class="inactiverow" id="tr_{$configArray[i].config_id}">
                <td align="center">{$newid}</td>
                <td>{$configArray[i].config_name}</a></td>
                <td>{$configArray[i].config_value}</a></td>
                <td>
                    <span>
                    {if $configArray[i].config_id eq '1'}
                    	<a href="{$siteroot}/admin/home.php?q=uploadlogo"><img src="{$siteroot}/templates/admin/img/icon_edit.png" title="Edit config settings" /></a>
                    </span>
                    {elseif $configArray[i].config_id eq '2'}
                    	<a href="{$siteroot}/admin/home.php?q=updatetext&id={$configArray[i].config_id|base64_encode}&action=edit&page={$page}"><img src="{$siteroot}/templates/admin/img/icon_edit.png" title="Edit config settings" /></a>
                    {elseif $configArray[i].config_id eq '3'}
                    	<a href="{$siteroot}/admin/home.php?q=updateflag&id={$configArray[i].config_id|base64_encode}&action=edit&page={$page}"><img src="{$siteroot}/templates/admin/img/icon_edit.png" title="Edit config settings" /></a>
                    {/if}
                </td>
              </tr>
              <!-- {$newid++} -->
              {/section}
              
               <tr>
                <td colspan="4">
                <div class="select_box">
                  </div>
                  <div class="pagination">
                  {if $pagination}{$pagination}{/if}
                  </div>
                   </td>
                  
              </tr>
            </table>
         </div>
            <!--Form Contain end--> 
         </div>
         </div>
        </div>
      <!--right_contain end-->
      <div class="clear"></div>
    </div>
{include file=$footer}